//
//  TextSegment.h
//  NewsMaker Touch
//
//  Created by Reisen on 10/8/14.
//  Copyright (c) 2014 Reisen. All rights reserved.
//

#import "Segment.h"
#import <AVFoundation/AVFoundation.h>

@interface TextSegment : Segment <NSXMLParserDelegate>
{
//    UITextView* textView;
    UILabel* textView;
    int animationMode;
    float duration;
    
    BOOL isPaused;
    BOOL isPlaying;
    
    AVAudioPlayer* bgmPlayer;
    NSTimer* playbackTimer;
    double playbackStarted;
    double lastPlaybackLoop;
    
    NSArray* paginatedText;
    
    NSString* curElement;
    NSString* curString;
    
    CGFloat lastKeyframe;
    
    float fontSize;
}
@property (strong) NSString* src;
@end
